home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-desktop-9.10-i386-PL.iso / casper / filesystem.squashfs / etc / dbus-1 / system.d / Upstart.conf < prev    next >
Extensible Markup Language  |  2009-10-15  |  2KB  |  58 lines

  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <!DOCTYPE busconfig PUBLIC
  3.   "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
  4.   "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
  5.  
  6. <busconfig>
  7.   <!-- Only the root user can own the Upstart name -->
  8.   <policy user="root">
  9.     <allow own="com.ubuntu.Upstart" />
  10.   </policy>
  11.  
  12.   <!-- Permit the root user to invoke all of the methods on Upstart, its jobs
  13.        or their instances, and to get and set properties. -->
  14.   <policy user="root">
  15.     <allow send_destination="com.ubuntu.Upstart"
  16.        send_interface="org.freedesktop.DBus.Properties" />
  17.  
  18.     <allow send_destination="com.ubuntu.Upstart"
  19.        send_interface="com.ubuntu.Upstart0_6" />
  20.     <allow send_destination="com.ubuntu.Upstart"
  21.        send_interface="com.ubuntu.Upstart0_6.Job" />
  22.     <allow send_destination="com.ubuntu.Upstart"
  23.        send_interface="com.ubuntu.Upstart0_6.Instance" />
  24.   </policy>
  25.  
  26.   <!-- Allow any user to introspect Upstart's interfaces, to obtain the
  27.        values of properties (but not set them) and to invoke selected
  28.        methods on Upstart and its jobs that are used to walk information. -->
  29.   <policy context="default">
  30.     <allow send_destination="com.ubuntu.Upstart"
  31.        send_interface="org.freedesktop.DBus.Introspectable" />
  32.  
  33.     <allow send_destination="com.ubuntu.Upstart"
  34.        send_interface="org.freedesktop.DBus.Properties"
  35.        send_type="method_call" send_member="Get" />
  36.     <allow send_destination="com.ubuntu.Upstart"
  37.        send_interface="org.freedesktop.DBus.Properties"
  38.        send_type="method_call" send_member="GetAll" />
  39.  
  40.     <allow send_destination="com.ubuntu.Upstart"
  41.        send_interface="com.ubuntu.Upstart0_6"
  42.        send_type="method_call" send_member="GetJobByName" />
  43.     <allow send_destination="com.ubuntu.Upstart"
  44.        send_interface="com.ubuntu.Upstart0_6"
  45.        send_type="method_call" send_member="GetAllJobs" />
  46.  
  47.     <allow send_destination="com.ubuntu.Upstart"
  48.        send_interface="com.ubuntu.Upstart0_6.Job"
  49.        send_type="method_call" send_member="GetInstance" />
  50.     <allow send_destination="com.ubuntu.Upstart"
  51.        send_interface="com.ubuntu.Upstart0_6.Job"
  52.        send_type="method_call" send_member="GetInstanceByName" />
  53.     <allow send_destination="com.ubuntu.Upstart"
  54.        send_interface="com.ubuntu.Upstart0_6.Job"
  55.        send_type="method_call" send_member="GetAllInstances" />
  56.   </policy>
  57. </busconfig>
  58.